package com.xlh.support.training.dao;

import com.xlh.support.training.domain.TrainingReport;
import com.xlh.support.training.domain.example.TrainingReportExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TrainingReportMapper {
    long countByExample(TrainingReportExample example);

    int deleteByExample(TrainingReportExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TrainingReport record);

    int insertSelective(TrainingReport record);

    List<TrainingReport> selectByExample(TrainingReportExample example);

    TrainingReport selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TrainingReport record, @Param("example") TrainingReportExample example);

    int updateByExample(@Param("record") TrainingReport record, @Param("example") TrainingReportExample example);

    int updateByPrimaryKeySelective(TrainingReport record);

    int updateByPrimaryKey(TrainingReport record);
}